package com.fortune.dto.excution;

import com.fortune.base.BaseAPIExcution;
import com.fortune.enums.DCRelationEnum;

public class DCRelationExcution<T> extends BaseAPIExcution<T> {
    public DCRelationExcution(T t, DCRelationEnum dcRelationEnum){
        this.data = t;
        this.status = dcRelationEnum.isStatus();
        this.msg = dcRelationEnum.getMsg();
    }
}
